package com.sun.hunk.hibernate.domain.impl;

import com.sun.hunk.hibernate.domain.*;

/**
 *
 * @author sunil
 */
public class DomainFactory {

    public static Link getLink() {
        return new LinkImpl();
    }

    public static Link getLink(Long id) {
        return new LinkImpl(id);
    }

    public static CodeType getCodeType() {
        return new CodeTypeImpl();
    }

    public static CodeType getCodeType(Long id) {
        return new CodeTypeImpl(id);
    }

    public static Category getCategory() {
        return new CategoryImpl();
    }

    public static Comment getComment() {
        return new CommentImpl();
    }

    public static User getUser() {
        return new UserImpl();
    }
    public static GenericCode getGenericCode() {
        return new GenericCodeImpl();
    }

}
